﻿@model MVCDemo.Models.Employee

@{
    ViewBag.Title = "Employee Details";
}
<div style="font-family: Arial">
    <h2>Employee Details</h2>

    <table>
        <tr>
            <td>
                <b>Employee Id </b>
            </td>
            <td><b>:</b></td>
            <td>
                @Model.EmployeeId
            </td>
        </tr>
        <tr>
            <td>
                <b>Name </b>
            </td>
            <td><b>:</b></td>
            <td>
                @Model.Name
            </td>
        </tr>
        <tr>
            <td>
                <b>Gender </b>
            </td>
            <td><b>:</b></td>
            <td>
                @Model.Gender
            </td>
        </tr>
        <tr>
            <td>
                <b>City </b>
            </td>
            <td><b>:</b></td>
            <td>
                @Model.City
            </td>
        </tr>
    </table>
    @Html.ActionLink("Back to Employee List", "Index", new { departmentId = @Model.DepartmentId })
</div>
